package com.itcast.fjs.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author feng js
 */
@Data
@Component
@ConfigurationProperties(prefix = "myredis")
public class ConfigPropertis {
    private String host;
    private String port;
}
